The CxUisEditor object contains the following methods:
The Connect method connects to a UIS.
Connect(DomainSiteService As String)
| Parameter | Required | Description |
|---|---|---|
|
DomainSiteService |
Yes |
The [Domain]Site.Service to which to connect. A domain is optional. The service must be a valid UIS. |
Example
The following example creates and connects the CxUisEditor object.
|
Sub Dim UisEditor Set UisEditor = CreateObject("CxEditors.CxUisEditor") UisEditor.Connect("[5410]CYGDEMO.UIS") End Sub |
This method is unimplemented.
This method is unimplemented.
The Disconnect method disconnects from the connected UIS service.
Disconnect()
Example
The following example disconnects the UisEditor object.
|
Sub UisEditor.Disconnect End Sub |
This method is unimplemented.
This method is unimplemented.
The ViewCD method launches a Device Information dialog box for the specified Comm Device.
ViewCD(strDeviceId As String) As Integer
| Parameter | Required | Description |
|---|---|---|
|
strDeviceId |
Yes |
The ID of the Comm Device to view. |
This method returns one of the following values:
| -1 or 0 | An error occurred. | |
|
1 |
Dialog box closed successfully. |
Example
The following example launches a Device Information dialog box for device "TCP210-3001."
|
Sub Dim iRet iRet= UisEditor.ViewCD("TCP210-3001") MsgBox iRet End Sub |
The ViewED method launches a Device Information dialog box for the specified Import/Export Device.
ViewED(strDeviceId As String) As Integer
| Parameter | Required | Description |
|---|---|---|
|
strDeviceId |
Yes |
The ID of the Import/Export Device to view. |
This method returns one of the following values:
| -1 or 0 | An error occurred. | |
|
1 |
Dialog box closed successfully. |
Example
The following example launches a Device Information dialog box for device "ENTOPS."
|
Sub Dim iRet iRet= UisEditor.ViewED("ENTOPS") MsgBox iRet End Sub |
The ViewRD method launches a Device Information dialog box for the specified remote device.
ViewRD(strDeviceId As String) As Integer
| Parameter | Required | Description |
|---|---|---|
|
strDeviceId |
Yes |
The ID of the remote device to view. |
This method returns one of the following values:
| -1 or 0 | An error occurred. | |
|
1 |
dialog box closed successfully. |
Example
The following example launches a Device Information dialog box for device "FLOWAUTOAP15."
|
Sub Dim iRet iRet= UisEditor.ViewRD("FLOWAUTOAP15") MsgBox iRet End Sub |